#############################################################################################################################################################
# Replication files for Langlois & Shalaby, "Legislative Responsiveness, Urban Growth, and Popular Mobilization: Evidence from Algeria," World Development
#############################################################################################################################################################

######################
## Documentation:
######################

The replication archive includes the following documentation files:

1. this Readme.txt file
2. the article appendix, supplementary_material.pdf, which includes: explanations of data sources and variables; the coding process, summaries of parliamentary questions data; a sample parliamentary question transcript, with images of the original documents in Arabic, followed by an English translation; summaries of protest data; summary statistics for the analysis data used in regressions, along with correlation plots; robustness tests; and a snapshot of key statistics on the two governorates analyzed as cases.   

#######################
## Data:
#######################

The replication archive includes the following data:

1. “protests.csv”: protest data.
2. “adm1_population_statistics”: for data and calculations on population, urbanization, and urban growth.
3. “PQ.csv”: parliamentary questions data.
4. “district_info.csv”: housing governorate level data from various sources. 
5. “algeria_nightlights_yearly.csv”: for nighttime light data. 
6. “districtIDkey.csv”: official ID key for governorates.
7. “algeriamassacres.csv”: data from Kilavuz, Grewal, and Kubinec 2023. 
8. “DZA-ADM1-shapefile”: shapefile data for map visualization.  
 

######################
## Code:
######################

The replication archive includes the following R script:

1. “replication_code.R” : code for data cleaning, transformation, and statistical analyses and figures in the paper and appendix.


######################
## Software:
######################

All analysis for this article was run using R version 4.5.0 (2025-04-11)

# Packages
library(tidyverse) 
library(lubridate)
library(MASS)
library(lmtest)
library(sandwich)
library(stargazer)
library(sf)
library(cowplot)
library(here)
library(modelsummary)
library(viridis)
library(ggrepel)
library(scales)
library(corrplot)
library(knitr)
library(RColorBrewer)
library(ggrepel)
library(grid)

